//
//  TravelTourSmallModel.m
//  ToWhere
//
//  Created by dllo on 15/11/18.
//  Copyright © 2015年 www.TE.com. All rights reserved.
//

#import "TravelTourSmallModel.h"

@implementation TravelTourSmallModel

-(void)dealloc
{
    [_photo_url release];
    [_height release];
    [_width release];
    [_Des release];
    [_video_url release];
    [super dealloc];

}

-(instancetype)initWithNSDictionary:(NSDictionary *)dic
{
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dic];
    }
    
    return self;
}

+(TravelTourSmallModel *)travelTourSmallModelWithNSDictionary:(NSDictionary *)dic
{
    TravelTourSmallModel *model = [[TravelTourSmallModel alloc]initWithNSDictionary:dic];
    
    return [model autorelease];
}

-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"description"]) {
        self.Des = value;
    }
    
    
}

@end
